package com.rubulls.report;

import static org.junit.Assert.fail;

import java.io.File;
import java.io.IOException;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import com.itextpdf.text.DocumentException;
import com.itextpdf.text.pdf.BaseFont;

public class Test1 {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void test() throws DocumentException, IOException {
		
		Prototype.bfChinese = BaseFont.createFont("/SIMSUNB.TTF", BaseFont.IDENTITY_H,  
	            BaseFont.NOT_EMBEDDED); 
		
		File file = new File(Prototype.DEST);
		file.getParentFile().mkdirs();

		
		new Prototype().createPdf2(Prototype.DEST2);
	}
	
	
	

}
